package com.demo.aop.exception;

/**
 * 描述：简单的bean，两个不同的函数抛出不同的异常
 *
 * @author lida
 * @time 2019/10/23 10:46
 */
public class ExceptionBean {

	public void exception() throws Exception {
		throw new Exception("This is a common Exception");
	}

	public void exceptionInterruption() throws InterruptedException{
		throw new InterruptedException("This is a Interrupt Exception");
	}
}
